package org.symkom.expression;

public class ParameterX extends Expression{
	
	public static int id = 0;
	
	public ParameterX() {
		myId = id++;
		operator = "x";
		sign = "^";
		index = "b";
		
	}
	@Override
	public void delete() {
		id--;
	}
	public static String getFormula() {
		return "x^b";
	}
	
	@Override
	public double getX(double x) {
		return Math.pow(x, getValue());
	}
	

}
